/// code : 200
/// message : "OK"
/// data : {"jwt":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NTQsIm5hbWUiOiJoeXkiLCJtb2JpbGUiOiIxODc5MjExMjc4MSIsImxvZ2luX3RpbWUiOjE2MjEyNDY2NDl9.UlyH27wr4mzRmtOMYaFjhkvP9qwBoAs8gfdNEgvwgwY"}

class UserLoginBean {
  int _code;
  String _message;
  Data _data;

  int get code => _code;

  String get message => _message;

  Data get data => _data;

  UserLoginBean({int code, String message, Data data}) {
    _code = code;
    _message = message;
    _data = data;
  }

  UserLoginBean.fromJson(dynamic json) {
    _code = json["code"];
    _message = json["message"];
    _data = json["data"] != null ? Data.fromJson(json["data"]) : null;
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = _code;
    map["message"] = _message;
    if (_data != null) {
      map["data"] = _data.toJson();
    }
    return map;
  }
}

/// jwt : "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NTQsIm5hbWUiOiJoeXkiLCJtb2JpbGUiOiIxODc5MjExMjc4MSIsImxvZ2luX3RpbWUiOjE2MjEyNDY2NDl9.UlyH27wr4mzRmtOMYaFjhkvP9qwBoAs8gfdNEgvwgwY"

class Data {
  String _jwt;

  String get jwt => _jwt;

  Data({String jwt}) {
    _jwt = jwt;
  }

  Data.fromJson(dynamic json) {
    _jwt = json["jwt"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["jwt"] = _jwt;
    return map;
  }
}
